package com.sumainfor.pc.gmio.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.service.impl.WatGasEleExsServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

/**
 * @author Meng
 * @ClassName WatGasEleExsController
 * @date 2020/2/19 9:59
 * @description: TODO
 */
@Controller
@RequestMapping("/key/WatGasEleExs")
public class WatGasEleExsController {


    @Autowired
    WatGasEleExsServiceImpl watGasEleExsService;



    @ResponseBody
    @PostMapping("/getGEW")
  public Map<String,Object> getGEW(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getGEW(params);
    }


    @ResponseBody
    @PostMapping("/getGEWOut")
    public Map<String,Object> getGEWOut(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getGEWOut(params);
    }


    @ResponseBody
    @PostMapping("/getGEWTuiZu")
    public List<Map<String,Object>> getGEWTuiZu(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getGEWTuiZu(params);
    }



    @ResponseBody
    @PostMapping("/getGEWTuiZuOut")
    public List<Map<String,Object>> getGEWTuiZuOut(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getGEWTuiZuOut(params);
    }


    @ResponseBody
    @PostMapping("/getRoomMoney")
    public List<Map<String,Object>> getRoomMoney(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getRoomMoney(params);
    }


    @ResponseBody
    @PostMapping("/getcharge")
    public Map<String,Object> getcharge(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getcharge(params);
    }

    @ResponseBody
    @PostMapping("/getWatNumber")
    public Map<String,Object> getWatNumber(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getWatNumber(params);
    }

    @ResponseBody
    @PostMapping("/getEleNumber")
    public Map<String,Object> getEleNumber(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getEleNumber(params);
    }

    @ResponseBody
    @PostMapping("/getGasNumber")
    public Map<String,Object> getGasNumber(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getGasNumber(params);
    }




    @ResponseBody
    @PostMapping("/getOwerdeal")
    public List<Map<String, Object>> getOwerdeal(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getOwerdeal(params);
    }


    @ResponseBody
    @PostMapping("/getTenwithdrawal")
    public Map<String, Object> getTenwithdrawal(@RequestBody Map<String,Object> params){
        return watGasEleExsService.getTenwithdrawal(params);
    }





}
